home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000187_news@newsmaster….columbia.edu _Wed Jun 10 10:23:09 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA00229
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 10 Jun 1998 10:23:08 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA12065
  7.     for kermit.misc@watsun; Wed, 10 Jun 1998 10:23:08 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Scripts: INPUT timed out
  12. Date: 10 Jun 1998 14:23:06 GMT
  13. Organization: Columbia University
  14. Lines: 37
  15. Message-ID: <6lm4sa$p24$1@apakabar.cc.columbia.edu>
  16. References: <357E3AF1.E299BFB3@eurospill.no>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8859
  19.  
  20. In article <357E3AF1.E299BFB3@eurospill.no>,
  21. Morten Knudsen  <morten@eurospill.no> wrote:
  22. : I'm just starting to learn kermit script programming. My problem is 
  23. : that my input commands are all timing out. Also if I type interactivly
  24. : output AT\13
  25. : input 10 OK
  26. : the input command fails. This .kermrc 
  27. : set line /dev/modem
  28. : set speed 19200
  29. : set modem usrobotics
  30. : set dial prefix 0
  31. : set dial method tone
  32. : set input timeout-action quit
  33. : output AT\13
  34. : input 3 OK
  35. : output AT\13
  36. : input 3 OK
  37. : fails on the second input line. Any hints? 
  38. Most likely, it is behaving as it should -- i.e. not seeing the second
  39. "OK" within 3 seconds.  I agree you *should* see it within 3 seconds, but
  40. if the INPUT command times out, it means the expected text did not arrive
  41. within the given interval.
  42.  
  43. Another possibility is confusion with the communications port driver.  I
  44. notice you are using "/dev/modem", which probably means Linux?  And /dev/modem
  45. is what?  /dev/cua0?  /dev/ttyS0?  The different drivers behave differently.
  46. Unfortunately, this started happening (or was discovered) after C-Kermit 6.0
  47. was released.  In that case, you'll have better luck with C-Kermit 6.1:
  48.  
  49.   http://www.columbia.edu/kermit/ck61.html
  50.  
  51. - Frank